package demo.component.test;

import org.springframework.stereotype.Controller;

//将对象存储到Spring中
@Controller
public class UserController {
    public void print(String name){
        System.out.println(name);
    }
}
